<?php if(!empty($jabatan) && !empty($user)){?>
<div class="sebelumjud">
        <div class="jodol"><?php echo $user['NAMA']?> —Position	<br/>
        <span class="role"><?php echo $jabatan['NAMA_JABATAN']?></div>
<div id="panah">
    <a href="#" class="pre"><input onClick="location.href='<?php echo base_url().'progress/progress_con/personal_pos_edit/'.$jabatan['ID_JABATAN'].'/'.$jabatan['ID_USER'].'/'.$jabatan['ID_DIVISI']?>'"  name="" type="button" class="send" value="Edit" /></a>
</div>
</div>

        <div class="clear"></div>
        <div id="jumat">
                <div id="last">
                    <a href="<?php echo base_url().'progress/progress_con/personal_listpos/'.$user['ID']?>">Posisition</a>
                    <a href="<?php echo base_url().'progress/progress_con/personal_bio/'.$user['ID']?>">Biodata</a>
                </div>
                <div id="pic"><img src="<?php if($user['FOTO']!='') echo $user['FOTO']; else echo base_url().'images/defpic.gif';?>" /></div>
                <div id="samping">
                        <div class="jobdesc">
                                <span class="bioo">Job Description</span>
                                <p>
                                <?php echo $jabatan['JOB_DESC']?>
                                </p>
                        </div>

                        <div class="jobdesc">
                                <span class="bioo">General Task</span>
                                    <ul>
                                    <?php
                                        for($i=1;$i<=5;$i++){
                                            if($jabatan['GENTASK'.$i]!='')
                                                echo '<li>'.$jabatan['GENTASK'.$i].'</li>';
                                        }
                                    ?>
                                    </ul>
                        </div>
                        <div class="jobdesc">
                                <span class="bioo">Routine Task</span>
                                    <ul>
                                    <?php
                                        for($i=1;$i<=5;$i++){
                                            if($jabatan['ROUTASK'.$i]!='')
                                                echo '<li>'.$jabatan['ROUTASK'.$i].'</li>';
                                        }
                                    ?>
                                    </ul>
                        </div>
                        <div class="jobdesc">
                                
                                        <?php
                                            if(!empty($list_jabatan)){
                                                echo '<span class="bioo">Jabatan Lainnya</span>
                                    <ul>';
                                                for($i=0;$i<count($list_jabatan);$i++){
                                                    echo '<li><a href="'.base_url().'progress/progress_con/personal_pos/'.$list_jabatan[$i]['ID_JABATAN'].'/'.$list_jabatan[$i]['ID_USER'].'/'.$list_jabatan[$i]['ID_DIVISI'].'">'.$list_jabatan[$i]['NAMA_JABATAN'].'</a></li>';
                                                }
                                                echo '</ul>';
                                            }
                                        ?>
                                    
                        </div>
                        <div class="clear"></div>
                </div><!---end div samping --->

        </div>
        <div class="clear"></div>
        <?php }?>